<?php

/**
 * Description of Resource
 *
 * @author Amanda
 */
class Resource
{

    protected $ownerId, $resourceDescription, $resourceLocation, $resourceName,
              $resourceGroup, $resourceStatus, $resourceId;

    public function __construct()
    {

    }
    public function setAll($iName, $iOwner, $iDesc, $iLoc, $iGroup, $iStatus)
    {
        $this -> resourceName = $iName;
        $this -> resourceId = 0;
        $this -> ownerId = $iOwner;
        $this -> resourceDescription = $iDesc;
        $this -> resourceLocation = $iLoc;
        $this -> resourceGroup = $iGroup;
        $this -> resourceStatus = $iStatus;
    }    
    public function setResourceName($iName)
    {
        $this->resourceName = $iName;
    }
    public function setResourceId($iResourceId)
    {
        $this->resourceId = $iResourceId;
    }
    public function setOwnerId($iOwner)
    {
        $this->ownerId = $iOwner;
    }
    public function setResourceDescription($iDesc)
    {
        $this->resourceDescription = $iDesc;
    }
    public function setResourceLocation($iLoc)
    {
        $this -> resourceLocation = $iLoc;
    }
    public function setResourceGroup($iGroup)
    {
        $this -> resourceGroup = $iGroup;
    }
    public function setResourceStatus($iStatus)
    {
        $this -> resourceStatus = $iStatus;
    }
    public function getResourceName()
    {
        return $this->resourceName;
    }
    public function getResourceId()
    {
        return $this->resourceId;
    }
    public function getOwnerId()
    {
        return $this->ownerId;
    }
    public function getResourceDescription()
    {
        return $this->resourceDescription;
    }
    public function getResourceLocation()
    {
        return $this -> resourceLocation;
    }
    public function getResourceGroup()
    {
        return $this -> resourceGroup;
    }
    public function getResourceStatus()
    {
        return $this -> resourceStatus;
    }
}
?>
